package cn.taoticket.mapper;
import cn.taoticket.pojo.TaoticketSchedulerSeat;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TaoticketSchedulerSeatMapper {

	public TaoticketSchedulerSeat getTaoticketSchedulerSeatById(@Param(value = "id") Long id)throws Exception;

	public List<TaoticketSchedulerSeat>	getTaoticketSchedulerSeatListByMap(Map<String,Object> param)throws Exception;

	public Integer getTaoticketSchedulerSeatCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertTaoticketSchedulerSeat(TaoticketSchedulerSeat taoticketSchedulerSeat)throws Exception;

	public Integer updateTaoticketSchedulerSeat(TaoticketSchedulerSeat taoticketSchedulerSeat)throws Exception;

	public Integer deleteTaoticketSchedulerSeatById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteTaoticketSchedulerSeat(Map<String,List<String>> params);

	public TaoticketSchedulerSeat getTaoticketSchedulerSeatByOrder(@Param(value = "scheduleId")Long scheduleId,
																   @Param(value = "seatX")Integer seatX,
																   @Param(value = "seatY")Integer seatY)throws Exception;


}
